try {
	Type.registerNamespace('BarCodeRuleVO');

	//基础档案-条码规则主表VO
	BarCodeRuleVO = function() {};
	BarCodeRuleVO.prototype = new NCMMPubUtil.SuperVO();
	//条码规则主键
	BarCodeRuleVO.PKBARCODERULE = {
		name: "pk_barcoderule",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规则编码
	BarCodeRuleVO.CODE = {
		name: "code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规则名称
	BarCodeRuleVO.NAME = {
		name: "name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//条码类型
	BarCodeRuleVO.BARTYPENAME = {
		name: "bartypename",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//补位方式
	BarCodeRuleVO.COMPLEMENT = {
		name: "complement",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//补位符号
	BarCodeRuleVO.FILLCODE = {
		name: "fillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//总长度
	BarCodeRuleVO.LENGTHH = {
		name: "length_h",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	BarCodeRuleVO.prototype.getAllAttrs = function() {
		return [BarCodeRuleVO.PKBARCODERULE,
			BarCodeRuleVO.CODE,
			BarCodeRuleVO.NAME,
			BarCodeRuleVO.BARTYPENAME,
			BarCodeRuleVO.COMPLEMENT,
			BarCodeRuleVO.FILLCODE,
			BarCodeRuleVO.LENGTHH
		];
	};
	BarCodeRuleVO.prototype.getTableName = function() {
		return "app_bcbd_barcoderule";
	};
	BarCodeRuleVO.prototype.getPrimaryAttr = function() {
		return BarCodeRuleVO.PKBARCODERULE;
	};
} catch(e) {
	$e(e);
}